import 'package:flutter/material.dart';
import 'package:nylo_framework/nylo_framework.dart';
import 'package:rt_fs/resources/pages/call_page.dart';
import '/app/controllers/chat_message_controller.dart';


class ChatMessagePage extends NyStatefulWidget<ChatMessageController> {
  static const path = '/chat-message';

  ChatMessagePage() : super(path, child: _ChatMessagePageState());
}

class _ChatMessagePageState extends NyState<ChatMessagePage> {

  @override
  init() async {
    super.init();

  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("Chat Message")
      ),
      body: SafeArea(
        child: Container(
          child: TextButton(
            onPressed: (){
              Navigator.pushNamed(context, CallPage.path);
            },
            child: Text('跳'),
          ),
        ),
      ),
    );
  }
}
